#ifndef GAODEMAPPROVIDER_H
#define GAODEMAPPROVIDER_H

#include "MapProvider.h"


class GaodeMapProvider : public MapProvider
{
    Q_OBJECT
public:
    GaodeMapProvider(const QString &imageFormat,const quint32 averageSize,const QGeoMapType::MapStyle mapType, QObject* parent = nullptr);
    ~GaodeMapProvider() = default;
signals:

};
static const quint32 AVERAGE_GAODE_STREET_MAP = 1297;
// -----------------------------------------------------------
// Bing Road Map

class GaodeRoadMapProvider : public GaodeMapProvider {
    Q_OBJECT

public:
    GaodeRoadMapProvider(QObject* parent = nullptr)
        : GaodeMapProvider(QStringLiteral("jpg"), AVERAGE_GAODE_STREET_MAP, QGeoMapType::StreetMap, parent) {}

    QString _getURL(const int x, const int y, const int zoom, QNetworkAccessManager* networkManager) override;
};

#endif // GAODEMAPPROVIDER_H
